package erp.server.organization.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class OrganizationVO {
    @ApiModelProperty(value = "组织id")
    private Integer id;
    @ApiModelProperty(value = "组织名称")
    private String name;
    @ApiModelProperty(value = "组织描述")
    private String description;
    @ApiModelProperty(value = "组织简称")
    private String abbreviation;
    @ApiModelProperty(value = "成立日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date establishmentDate;
    @ApiModelProperty(value = "所属行业")
    private String industry;
    @ApiModelProperty(value = "联系人姓名")
    private String contactPerson;
    @ApiModelProperty(value = "联系人邮箱")
    private String contactEmail;
    @ApiModelProperty(value = "联系人电话")
    private String contactPhone;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "状态（激活、不激活、待定）", allowableValues = "active, inactive, pending")
    private String status;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createdAt;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updatedAt;
    @ApiModelProperty(value = "用户id")
    private Integer userId;
    @ApiModelProperty(value = "所属部门")
    private String role;
}
